package backpage.mapper;

import backpage.entity.SalaryDetails;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SalaryDetailsMapper {
    @Insert("INSERT INTO salary_details (salary_summary_id, type, apply_id, amount, description) " +
            "VALUES (#{salarySummaryId}, #{type}, #{applyId}, #{amount}, #{description})")
    int insertSalaryDetails(SalaryDetails salaryDetails);
}